/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package is202.hrms.web;

import is202.hrms.ejb.ModulenEJB;
import is202.hrms.entity.Modulen;
import java.io.Serializable;
import java.util.List;
import javax.ejb.EJB;
import javax.enterprise.context.RequestScoped;
import javax.inject.Named;

/**
 *
 * @author group tre musketter
 */
@Named("modulenlistbean")
@RequestScoped
public class ModulenListBean implements Serializable {
    private static final long serialVersionUID = 1L;

    @EJB ModulenEJB modulenEjb;
    ProgressListBean progList;

    public ModulenListBean() {
    }

    public List<Modulen> getModulen() {
        List<Modulen> l = modulenEjb.findAll();
        return l;
    }
    
     
    
    
}
